import java.util.HashMap;
import java.util.Map;
import java.util.Vector;

import jade.content.lang.sl.SLCodec;
import jade.core.Agent;
import jade.core.ProfileImpl;
import jade.domain.mobility.MobilityOntology;


public class ControllerAgent extends Agent{
	   private jade.wrapper.AgentContainer home;
	   private jade.wrapper.AgentContainer[] container = null;
	   private Map locations = new HashMap();
	   private Vector agents = new Vector();
	   private int agentCnt = 0;
	   private int command;

	   public static final int QUIT = 0;
	   public static final int NEW_AGENT = 1;
	   public static final int MOVE_AGENT = 2;
	   public static final int CLONE_AGENT = 3;
	   public static final int KILL_AGENT = 4;

	jade.core.Runtime runtime = jade.core.Runtime.instance();
	
	protected void setup(){
	//getContentManager().registerLanguage(new SLCodec());
	//getContentManager().registerOntology(MobilityOntology.getInstance());
	
	home = runtime.createAgentContainer(new ProfileImpl());
	container = new jade.wrapper.AgentContainer[3];
	for (int i = 0; i < 5; i++){
	container[0] = runtime.createAgentContainer(new ProfileImpl());
	}
	}
}
